// 组织架构接口
import request from '@/utils/request'

// 查询企业的部门列表请求
export const getDapartment = () => {
  return request({
    url: '/company/department',
    method: 'GET'
  })
}

// 根据ID删除部门请求
export const deleteDapartment = id => {
  return request({
    url: '/company/department/' + id,
    method: 'DELETE'
  })
}
